<?php
	include("config/config.php");
	if(!isset($_GET["show"])){
		$module="module_1";
	}
	else{
		$module=$_GET["show"];
	}
	$module_data=array();
	$blank='<div class="h20"></div>';

	//获取模块类型定义数据
	$module_type=$dbh->query("SELECT * FROM module_type WHERE lavel='2'")->fetchAll();
	$module_type=array_column($module_type, NULL, 'type');
	//获取一级框架数据
	$frame = $dbh->query("SELECT * FROM frame_data WHERE lavel='1'")->fetchAll();
	$frame_data=array_column($frame, NULL, 'module');

	//获取当前访问模块框架数据
	$this_module=$dbh->query("SELECT * FROM frame_data WHERE module='".$module."'")->fetchAll();
	if($this_module[0]['type']=="module"){
		$module_data = $dbh->query("SELECT * FROM frame_data WHERE belong='".$module."' ORDER BY `data_order`")->fetchAll();
	}
	else{
		$module_data=$this_module;
	}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0057)# -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>澳乐汀旅行-私人定制旅游丨高端定制旅行_出国旅行自由行一站式订制平台</title>
<meta name="baidu-site-verification" content="L1swZ6IplY">

<meta http-equiv="Content-Language" content="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="「深圳澳乐汀旅行」专注于出境自由行市场以及私人定制旅游业务，免费提供全面的出境自由行和定制服务，享受豪华酒店、极致美食、私人导游的完美体验。私家团、蜜月度假、亲子家庭出游、主题旅游一站式服务。">
<meta name="keywords" content="澳乐汀旅行,出国游,出国旅行,泰国定制旅游,泰国自由行,自由行,定制旅行,定制旅游,云南出国旅游,云南出境旅游,云南定制旅游,高端旅游,私人定制旅游,蜜月旅行,亲子旅游,">
<meta name="distribution" content="global">
<script type="text/javascript" src="/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="/js/TweenMax.js"></script>
<script type="text/javascript" src="/js/jquery.fancybox-1.3.1.pack.js"></script>
<script src="/layer/layer.js"></script>
<script src="/js/ckplayer.js"></script>
<script src="/js/superslide.2.1.js"></script>
<script src="/js/wow.min.js"></script>
<script src="/js/aykj.js"></script>
<script src="/js/MyJs.js"></script>
<script src="/js/index.js"></script>

<script type="text/javascript" src="js/jquery1.42.min.js"></script>
<script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></script>

<link href="css/main.css" rel="stylesheet" type="text/css">
<link href="css/animate.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="css/fancybox.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
<link rel="stylesheet" href="css/layer.css" id="layuicss-skinlayercss">
</head>
<body>
<input type="hidden" id="subsiteId" name="subsiteId" value="7">
<input type="hidden" id="subsiteFlag" name="subsiteFlag" value="fittourpc">
<input type="hidden" id="aaa" value="aaa476"><input type="hidden" id="bbb" value="bbb476"><script>
	//引入到公共非head.jsp
	//在需要继承的地方设置栏目id， 如二级栏目 class="bbb"
	$(function() {
		var aaa = $("#aaa").val();
		var bbb = $("#bbb").val();
		var ccc = $("#ccc").val();

		$("." + aaa).addClass("hover");
		$("." + bbb).addClass("hover");
		$("." + ccc).addClass("hover");
	})
</script>
<?php
	include("tpl/common/head.php");

	foreach ($module_data as  $value) {
		$pic_module_tytle=$value['module_name'];
		$pic_data=$dbh->query("SELECT * FROM module_data WHERE module='".$value['module']."' ORDER BY `data_order`")->fetchAll();;
		include("tpl/extend/".$module_type[$value['type']]['type'].".php");
		echo $blank;
	}

	include("tpl/common/foot.php");
	include("tpl/common/right.php");
?>


<script>
//初始化导航
$("#<?php echo $module; ?>").addClass("hover");

//显示二维码
$(".floatBox dd.dd3").hover(function(){
		$(this).find(".f_code").show();
		},function(){
		$(this).find(".f_code").hide();
	})
</script>

<div id="fancybox-tmp"></div>
<div id="fancybox-loading">
	<div></div>
</div>
<div id="fancybox-overlay"></div>
<div id="fancybox-wrap">
	<div id="fancybox-outer">
		<div id="fancybox-inner"></div>
		<a id="fancybox-close"></a>
		<a href="javascript:;" id="fancybox-left">
			<span class="fancy-ico" id="fancybox-left-ico"></span>
		</a>
		<a href="javascript:;" id="fancybox-right">
			<span class="fancy-ico" id="fancybox-right-ico"></span>
		</a>
	</div
></div>

</body>
</html>